﻿using System.Collections.Generic;

namespace DM4Client
{
    public enum ActivePageIdx
    {
        Main = 0,
        Work,
        Scripts,
        MailDaemons,
        Log
    };

    public enum MailActivePageIdx
    {
        Accounts = 0,
        Sender,
        Listener
    }

    public enum LogActivePageIdx
    {
        System = 0,
        Daemons,
        Errors,
        General,
        Test
    }

    public static class PrmKeys
    {
        public const string LastServer = "LastServer";
        public const string LastUser = "LastUser";
        public const string ServerHome = "ServerHome";

        public const string SpMainPos = "spMainPos";
        public const string SpGroupDescriptionPos = "SpGroupDescriptionPos";
        public const string SpModulesPos = "SpModulesPos";
        public const string SpModulesHelp = "SpModulesHelp";
        public const string SpGroupsPos = "SpGroupsPos";
        public const string SpScriptPos = "spScriptPos";
        public const string SpScriptInfoPos = "spScriptInfoPos";
        public const string SpScriptRight = "SpScriptRight";
        public const string SpModuleInfoPos = "spModuleInfoPos";

        public const string SpLogScriptPos = "spLogScriptPos";
        public const string SpLogTaskPos = "spLogTaskPos";
        public const string SpLogSessionPos = "spLogSessionPos";
        public const string SpLogMainPos = "spLogMainPos";
        public const string SpLogMain2Pos = "spLogMain2Pos";

        public const string SpMailTemplatesPos = "spMailTemplatesPos";
        public const string SpMailTemplateContentPos = "spMailTemplateContentPos";
        public const string SpMailTemplatesViewPos = "spMailTemplatesViewPos";

        public const string SpSendersLettersPos = "spSendersLettersPos";
        public const string SpMailListenerPos = "spMailListenerPos";
        public const string SpListenerRulesPos = "spListenerRulesPos";

    }

    public static class DM4ClientConst
    {
        public const string LogFileName = "log.log";
        public const string ClientConfigFilename = "DM4cliconfig.xml";
        public const string ServerListFileName = "serverlist.xml";
    }
}